package example.handler;

import example.model.NormalUser;
import example.param.MoneyConsumeParam;
import example.param.MoneyPayParam;

/**
 * Created by snksnk1091 on 2017/8/23.
 */
public interface MoneyHandler {
    Object pay(MoneyPayParam param);
    void createNewMoneyByNormalUser(NormalUser normalUser);
    void deleteMoneyByUserName(String userName);
    Object consume(MoneyConsumeParam param);
    Object getMoneyListByName(String userName);
    Object getAllMoneyList();
}
